<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<title>信箱</title>
<link href="/oa/css/message.css" type="text/css" rel="stylesheet" />
<link href="/oa/css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript">
	$(document)
			.ready(
					function(e) {
						$("#inbox1")
								.click(
										function(e) {
											parent.mainFrame.location = '<s:url action="showInbox" namespace="/messageManage" />';
										});
						$("#inbox2")
								.click(
										function(e) {
											parent.mainFrame.location = '<s:url action="showInbox" namespace="/messageManage" />';
										});
						$("#outbox")
								.click(
										function(e) {
											parent.mainFrame.location = '<s:url action="showOutbox" namespace="/messageManage" />';
										});
					});
</script>
</head>

<body>
	<table class="data_list_table" style="width:50%;" id="table_message">
		<tr>
			<th>本地文件夹</th>
			<th>邮件总数</th>
			<th>未读邮件</th>
		</tr>
		<tr>
			<th>收件箱</th>
			<td><label style="cursor: pointer;" id="inbox1"><s:property
						value="messageCount"></s:property> </label></td>
			<td><label style="cursor: pointer;" id="inbox2"><s:property
						value="messageUnreadCount"></s:property> </label></td>
		</tr>
		<tr>
			<th>草稿箱</th>
			<td>0</td>
			<td>0</td>
		</tr>
		<tr>
			<th>已发送</th>
			<td><label style="cursor: pointer;" id="outbox"><s:property
						value="sendmessageCount"></s:property> </label></td>
			<td>0</td>
		</tr>
		<tr>
			<th>已删除</th>
			<td>0</td>
			<td>0</td>
		</tr>
	</table>
</body>
</html>
